package com.epam.debrecen.hackathon.ai.model;

import java.util.ArrayList;
import java.util.List;

public class Hand {

	private final List<String> cards;

	public Hand() {
		this.cards = new ArrayList<String>();
	}

	public Hand(List<String> cards){
		this.cards = cards;
	}

	public void addCard(String card) {
		this.cards.add(card);
	}

	public void removeCard(String card){
		cards.remove(card);
	}

	public List<String> getCards() {
		return this.cards;
	}

	@Override
	public String toString() {
		return "Hand [cards=" + this.cards + "]";
	}

}
